﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//铁匠
namespace Demo1
{
    enum BlacksmithNPC 
    {
        /// <summary>
        /// 修补NPC
        /// </summary>
        RepairNPC,
        /// <summary>
        ///强化NPC
        /// </summary>
        IntensifyNPC,
        /// <summary>
        /// 打造NPC
        /// </summary>
        ForgeNPC
    }
    class Blacksmith : NPC
    {

        private string must;
        private BlacksmithNPC Ttype;
        public Blacksmith(string name, NPCtype type, BlacksmithNPC Ttype, string must) : base(name, type)
        {
            this.Ttype = Ttype;
            this.must = must;
        }
        public Blacksmith() { }

        public override void SpeakA()
        {
            Console.WriteLine("NPC{0}说：这{1}都坏成这样了确定不补补", this.name, this.must);
        }

        public override void SpeakB()
        {
            Console.WriteLine("NPC{0}说：我帮你把这{1}强化一下，让它更加强大", this.name, this.must);
        }

        public override void SpeakC()
        {
            Console.WriteLine("NPC{0}说：把{1}带来我才可以给你打造极品神器呀", this.name, this.must);
        }
    }
}
